<?php
//获取参数
$oscr_id = $route->bodyParams["oscr_id"];//主键ID

$whereArr = [
    "oscr_id" => $oscr_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_student_course_record",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );